<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var a = 10, b = 5;
    console.log(a == b);
    var c = "100", d = "100";
    console.log(c == d);
    console.log(c === d);
    // 原始数据类型使用==或===都一样

    var obj = {
        name: "haha",
        age: 20
    }
    var obj1 = {
        name: "haha",
        age: 20
    }
    console.log(obj === obj1);
    var zs = obj;
    console.log(obj === zs);
    var e = new String("100");
    console.log(c == e);
    console.log(c === e);
</script>
</body>
</html>